package com.zimin.cloud.system.api;

import com.zimin.cloud.mine.pojo.system.business.AccountBO;
import com.zimin.cloud.mine.pojo.system.business.LoginBO;
import com.zimin.shared.pojo.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.cloud.openfeign.SpringQueryMap;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;

import java.util.List;

/**
 * @author zimin
 * @since 2022/1/4 5:37 下午
 */
@FeignClient(name = IBaseSystemFeign.SERVER_NAME)
public interface ILoginFeign {


    String ROUTER = "/sys/login";

    /**
     * <p>登录</p>
     *
     * @param loginBO
     * @return com.zimin.shared.pojo.Result
     * @since 2022-03-17 16:15:18
     */
    @PostMapping(ROUTER)
    Result login(@RequestBody LoginBO loginBO);
}
